
<!--备份钱包口令-->

<div class="topbar-container" ng-include="'views/includes/topbar.html'" ng-init="titleSection='Backup'; goBackToState = true"></div>



<div class="content preferences" ng-controller="wordsController as wordsC">
	<h4></h4>

	<!--备份错误-->
	<div class="box-notification" ng-show="wordsC.error">
		<span class="text-warning">{{wordsC.error|translate}}</span>
	</div>

	<div class="row m20t" ng-show="wordsC.deleted">
		<div class="columns size-14 text-gray text-center" translate>Wallet seed not available.</div>
	</div>

	<!--显示隐藏钱包种子-->
	<div ng-show="wordsC.mnemonicWords || (wordsC.credentialsEncrypted && !wordsC.deleted)">
    	<div class="row">
			<div class="m10t columns">
				<a class="button outline light-gray expand tiny" ng-click="wordsC.toggle()">
					<!--<i class="fi-widget m3r"></i>-->
					<span translate ng-hide="wordsC.show">Show the Wallet Seed Anyway</span>
					<span translate ng-hide="!wordsC.show">Hide the Wallet Seed</span>
					<i ng-if="!wordsC.show" class="icon-arrow-down4"></i>
					<i ng-if="wordsC.show" class="icon-arrow-up4"></i>
				</a>
			</div>
    	</div>


		<div class="row m10t m10b" ng-show="wordsC.show">
			<div class="small-centered  text-gray columns size-14">
				<span translate>Your Wallet Seed:</span><br/>
				<span translate class="text-bold">Write it down and keep it somewhere safe.</span>
        		<span translate class="text-bold">Do not use it to clone the wallet.</span>
			</div>
    	</div>


		<!-- 钱包口令 12个单词 -->
    	<div class="row" ng-show="wordsC.show">
        	<div class="columns">
        		<div class="p10" style="background:white;-webkit-user-select: text;" ng-class="{'enable_text_select': index.network == 'testnet'}">

					<span ng-repeat="word in wordsC.mnemonicWords track by $index" style="-webkit-user-select: text">
						<span style="white-space:nowrap; -webkit-user-select: text;"> {{word}} </span>
						<span ng-show="wordsC.useIdeograms">&#x3000;</span>
					</span>
        		</div>
        	</div>
    	</div>


    	<div class="row m10t m20b" ng-show="wordsC.show">
        	<div class="columns" ng-show="wordsC.mnemonicHasPassphrase">
				<span class="size-12">
            		<i class="fi-alert"></i>
            		<span translate>WARNING: This seed was created with a passphrase. To recover this wallet both the mnemonic and passphrase are needed.</span>
				</span>
        	</div>
    	</div>

    	<div class="row" ng-show="wordsC.show">
        	<div class="m10t text-center columns">
				<div class="size-12 text-gray">
            		<span translate>Once you have written your wallet seed down, it is recommended to delete it from this device.</span>
				</div>

				<button class="button outline m10t round dark-gray tiny" ng-click="wordsC.delete()">
            		<i class="fi-trash"></i>
            		<span translate>DELETE WORDS</span>
				</button>
        	</div>
    	</div>


	</div>
</div>
<div class="extra-margin-bottom"></div>



<!--多签名钱包相关-->
<!--<span translate>Better yet, use multisig wallets with redundancy, </span>-->
<!--<span ng-if="!wordsC.isCordova" translate>e.g. 1-of-2 wallet with one key on this device and another key on your smartphone.</span>-->
<!--<span ng-if="wordsC.isCordova" translate>e.g. 1-of-2 wallet with one key on this device and another key on your laptop computer.</span>-->

<!--备份前提示-->
<!--<div>-->
<!--<div class="row">-->
<!--<div class="m10t columns size-14 text-gray">-->
<!--<span translate ng-hide="wordsC.isIOS == 'ios'">Just the wallet seed is not enough, contact lists and meesages could be recovered.</span>-->
<!--<br><br>-->

<!--<span ng-hide="wordsC.isIOS == 'ios'">-->
<!--<span translate>To be able to restore everything, please create a full backup</span>-->
<!--<span ng-if="!wordsC.isCordova"> </span>-->
<!--<span ng-if="!wordsC.isCordova" translate>or backup all TrustNote data at</span>-->
<!--<span ng-if="!wordsC.isCordova"> {{wordsC.appDataDir}}</span>.-->
<!--<br><br>-->
<!--</span>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->